<div class="form-box" id="login-box">
            <div class="header">
            	Introduir nova contrasenya</br>
            	<div id="rec_mail">
            		<?php echo($mail);?>
            	</div>
            </div>
            <form action="javascript:updateContrasenya(p.value,p1.value);">
                <div class="body bg-gray">
                    <div class="form-group">
                        <input type="password" id="p" class="form-control" placeholder="Contrasenya" required/>
                    </div>
                    <div class="form-group">
                        <input type="password" id="p1" class="form-control" placeholder="Reescriure Contrasenya" required />
                    </div>          
                </div>
                <div class="footer">                                                               
                    <button type="submit" class="btn bg-olive btn-block">Enviar</button>  
                </div>
            </form>
</div>